.PHONY: all clean 

all: tcpserver client

tcpserver: main.cc
	g++ -o tcpserver main.cc -lpthread -ljsoncpp -std=c++17

client: client.cc
	g++ -o client client.cc -lpthread -ljsoncpp -std=c++17

clean:
	rm -f tcpserver client
